package com.lmf.cloud.entity;

import cn.hutool.core.lang.Range;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @Description TODO
 * <p>
 * Copyright @2022 Shanghai Mise Co. Ltd.
 * All right reserved.
 * <p>
 * @Author LiuMingFu
 * @Date 2024/7/18 16:15
 */
@Data
public class MyData {
    String name;
    Integer age;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    LocalDateTime createDateTime;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    LocalDate createDate;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "HH:mm:ss")
    LocalTime createTime;
}
